package com.ym.medical.domain.param;

import com.ym.common.constant.BaseEntity;
import com.ym.common.constant.BeanCovert;
import com.ym.medical.domain.entity.ComplainRecordEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.Table;
import javax.validation.constraints.NotNull;
import java.util.Date;

/**
 * 申诉工单对象 complain_record
 *
 * @author ym
 * @date 2020-08-24
 */
@ApiModel("申诉工单-实体")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@Table(name = "complain_record")
public class ComplainRecordParam extends BeanCovert<ComplainRecordEntity> {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty(notes = "")
	private Long id;

	/**
	 * 关联id
	 */
	@ApiModelProperty("关联id")
	private Long relId;

	/**
	 * 申诉类型 (01- 订单退费)
	 */
	@ApiModelProperty("申诉类型 (01- 订单退费)")
	private String complainType;

	/**
	 * 申诉内容
	 */
	@ApiModelProperty("申诉内容")
	private String complainContent;

	/**
	 * 审核状态 (01-审核中 02-已通过 03-已驳回 ComplainStateEnum)
	 */
	@ApiModelProperty("审核状态 (01-审核中 02-已通过 03-已驳回 ComplainStateEnum)")
	private String state;

	/**
	 * 审核进度 (01-客服 02-财务  AuditSpeedEnum)
	 */
	@ApiModelProperty("审核进度 (01-客服 02-财务  AuditSpeedEnum)")
	private String auditSpeed;

	/**
	 * 申诉人
	 */
	@ApiModelProperty("申诉人")
	private Long complainPerson;

	/**
	 * 申诉时间
	 */
	@ApiModelProperty("申诉时间")
	private Date createTime;

	/**
	 * 审核人
	 */
	@ApiModelProperty("审核人")
	private Long auditor;

	/**
	 * 审核时间
	 */
	@ApiModelProperty("审核时间")
	private Date auditTime;

	/**
	 * 审核意见
	 */
	@ApiModelProperty("审核意见")
	private String auditIdea;

	public interface Add {

	}

	public interface Update {

	}

}
